package com.example.jobback.req.seeker.profile;

import com.example.jobback.common.enums.Edu;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @ClassName: SeekerReq
 * @Description:
 * @Author: lhb
 * @Date: 2025/5/11
 */

@Data
@Schema(title = "求职者请求体")
public class SeekerReq {
    /**
     * @Description: 姓名
     * @Author lhb
     * @CreateTime 2025/5/11 10:38
     */
    @Schema(title = "姓名")
    @NotNull(message="姓名不为空")
    private String name;

    /**
     * @Description: 出生日期
     * @Author lhb
     * @CreateTime 2025/5/11 10:38
     */
    @Schema(title = "出生日期")
    @NotNull(message="出生日期不为空")
    private LocalDateTime birthDate;


    /**
     * @Description: 性别
     * @Author lhb
     * @CreateTime 2025/5/11 10:38
     */
    @Schema(title = "性别")
    @NotNull(message="性别不为空")
    @Pattern(regexp = "^(男|女)$", message = "性别只能为'男'或'女'")
    private String gender;

    /**
     * @Description: 学历
     * @Author lhb
     * @CreateTime 2025/5/11 10:38
     */
    @Schema(title = "学历")
    @NotNull(message="学历不为空")
    private Edu education;

    /**
     * @Description: 个人优势
     * @Author lhb
     * @CreateTime 2025/5/11 10:38
     */
    @Schema(title = "个人优势")
    private String personalAdvantages;

    /**
     * @Description: 期望行业
     * @Author lhb
     * @CreateTime 2025/5/11 10:38
     */
    @Schema(title = "期望行业")
    private String expectedIndustry;

    /**
     * @Description: 期望职位
     * @Author lhb
     * @CreateTime 2025/5/11 10:38
     */
    @Schema(title = "期望职位")
    private String expectedPosition;

    /**
     * @Description: 期望薪资
     * @Author lhb
     * @CreateTime 2025/5/11 10:39
     */
    @Schema(title = "期望薪资")
    private Long expectedSalary;

    /**
     * @Description: 居住地
     * @Author lhb
     * @CreateTime 2025/5/11 10:41
     */
    @Schema(title = "居住地")
    private String location;
}
